package com.ivanceras.client;

import java.util.ArrayList;
import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.ivanceras.model.Choice;
import com.ivanceras.model.Question;
import com.ivanceras.model.Questionnaire;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("simulation")
public interface SimulationService extends RemoteService {
	Questionnaire getQuestions(long questionnaireKey);
	ArrayList<Questionnaire> getQuestionnaires();
	Questionnaire saveQuestionnaire(Questionnaire qnr);
	Question saveQuestion(Question question);
}